package com.itheima.admin.service;

import com.itheima.pojo.dto.DeptDto;
import com.itheima.pojo.dto.PageDto;
import com.itheima.pojo.vo.DeptVo;
import com.itheima.pojo.vo.PageVo;
import com.itheima.pojo.vo.UserVo;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface IDeptService {
    PageVo<DeptVo> queryByPage(PageDto pageDto);
    List<DeptVo> selectAll();
    Boolean addDept(DeptDto deptDto, HttpSession session);
    Boolean deleteById(String id);
    DeptVo queryById(String id);
    Boolean updateDept(DeptDto deptDto, HttpSession session);
}
